using System.Data;
using VanTaiData;
using VanTaiProperty;
namespace VanTaiBLL
{
    public class clsTMDOBusiness
    {
        public static clsTMDOController cls = new clsTMDOController();

        #region[Get-Data]
        public DataTable BindGirdTMDO()
        {
            return cls.BindGirdTMDO();
        }
        public DataTable BindGirdTMDO_Detail_Edit(int id)
        {
            return cls.BindGirdTMDO_Detail_Edit(id);
        }
        #endregion

        #region[Insert-Update-Delete]
        public static bool InsertTMDO(clsTMDOProperty obj)
        {
            return cls.InsertTMDO(obj);
        }
        public static bool UpdateTMDO(clsTMDOProperty obj)
        {
            return cls.UpdateTMDO(obj);
        }
        public static bool UpdateTM_DO_Quality(clsTMDOProperty obj)
        {
            return cls.UpdateTM_DO_Quality(obj);
        }
        public static bool DeleteTMDO(int id)
        {
            return cls.DeleteTMDO(id);
        }
        public bool TMDO_Check_Delete_TMDO_ENTRY(int id)
        {
            return cls.TMDO_Check_Delete_TMDO_ENTRY(id);
        }
        public bool TMDO_Check_Delete_TMDO_BILL(int id)
        {
            return cls.TMDO_Check_Delete_TMDO_BILL(id);
        }
        #endregion

        #region[Search]
        public DataTable Search(string keywords)
        {
            return cls.Search(keywords);
        }
        #endregion
    }
}